// ApplicationsManager.h : main header file for the Application
//
#pragma once

// CApplicationsManager:
// See ApplicationsManager.cpp for the implementation of this class
//
#include "Singleton.h"
#include "Application.h"
#include "WinApplication.h"
#include "ApplicationAccounts.h"
#include "Account.h"
#include "GList.h"
#include "ApplicationsManager.h"
#include "OpenESSO.h"
#include "Imports.h"


class CApplicationAccessManager : public Singleton<CApplicationAccessManager>,public COpenESSOApp
{
	friend class Singleton<CApplicationAccessManager>;

public:
	CApplicationAccessManager();
	~CApplicationAccessManager();

private:
	CApplicationsManager* appMgr;

public:
	void ApplicationAnalyser(CString windowTitle);
	afx_msg void OnSsoStart();
	afx_msg void OnSsoStop();
	afx_msg void OnRegisteredMessage(WPARAM wp, LPARAM lp);
	DECLARE_MESSAGE_MAP()
};